package com.ggb.repository;


import com.ggb.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserRepository {
    List<User> findAll(int index, int limit);

    int count();

    void save(User user);

    void deleteById(long id);
}